package com.yqz.bussi.mapper;

import com.yqz.bussi.form.BussiBookingCustomerForm;
import com.yqz.bussi.query.BussiBookingCustomerQuery;
import com.yqz.bussi.vo.BussiBookingCustomerVO;
import com.yqz.common.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BussiBookingCustomerMapper extends BaseMapper<BussiBookingCustomerVO, BussiBookingCustomerQuery, BussiBookingCustomerForm> {

    Integer batchUpdateUser(@Param("userId") Integer userId, @Param("userName") String userName, @Param("custId") List<Integer> custId);

    Integer updateState(@Param("state") Integer state, @Param("id") Integer id);

    Integer updateCheckFeeState(@Param("id") Integer id, @Param("state") Integer state);

    Integer updateServiceEndTime(@Param("id") Integer id, @Param("serviceEndTime") String serviceEndTime);

    Integer resetCheckFeeState();
}